# 1.try:
# except (RuntimeError,TypeError,NameError):
#     pass



print('------------------------------------------------------')
while True:
    try:
        x= int(input("please enter a number:"))
        print("num is : ",x)
        break
    except ValueError:
        print("oops!That was no valid number try again")
print('.........................................................................')

